home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / sep.xml < prev    next >
Text File  |  2002-09-27  |  3KB  |  84 lines

  1. <search function="sep">
  2.   <name>Stanford Encyclopedia of Philosophy</name>
  3.   <category>Reference</category>
  4.   <contributor>Andrew N. Carpenter</contributor>
  5.   <link>http://plato.stanford.edu/entries/search.html</link>
  6.   <email>andy@andrewcarpenter.net</email>
  7.   <description>
  8.   Search Stanford Encyclopedia of Philosophy
  9.   <div class="helpboxDescLabels">Example:</div> 
  10.     <table class="helpboxDescTable">
  11.       <tr>
  12.         <td>sep socrates</td>
  13.       </tr>
  14.     </table>
  15.   </description>
  16.   <form name="sepf"
  17.         method="get"
  18.         action="http://plato.stanford.edu/cgi-bin/webglimpse/usr/local/etc/httpd/htdocs/entries">
  19.  
  20.     <COMMENT> The following field was active (i.e. had focus) when the search was generated. </COMMENT>
  21.  
  22.     <input type="hidden" name="query" value="" />
  23.     <input type="hidden" name="case" value="" />
  24.     <input type="hidden" name="whole" value="" />
  25.     <input type="hidden" name="lines" value="" />
  26.     <input type="hidden" name="errors" value="" />
  27.     <COMMENT>
  28.       The input element above, "errors", was a SELECT element with the following options...
  29.       <select name="errors">
  30.         <option>0</option>
  31.         <option>1</option>
  32.         <option>2</option>
  33.       </select>
  34.     </COMMENT>
  35.  
  36.     <input type="hidden" name="maxfiles" value="" />
  37.     <COMMENT>
  38.       The input element above, "maxfiles", was a SELECT element with the following options...
  39.       <select name="maxfiles">
  40.         <option>10</option>
  41.         <option>50</option>
  42.         <option>100</option>
  43.         <option>1000</option>
  44.       </select>
  45.     </COMMENT>
  46.  
  47.     <input type="hidden" name="maxlines" value="" />
  48.     <COMMENT>
  49.       The input element above, "maxlines", was a SELECT element with the following options...
  50.       <select name="maxlines">
  51.         <option>10</option>
  52.         <option>30</option>
  53.         <option>50</option>
  54.         <option>500</option>
  55.       </select>
  56.     </COMMENT>
  57.  
  58.     <input type="hidden" name="maxchars" value="10000" />
  59.   </form>
  60.   <script><![CDATA[
  61.     function sep(q)
  62.     {
  63.       if( nullArgs("sep", q) )
  64.         return;
  65.  
  66.       document.sepf.query.value = q;
  67.       //document.sepf.case.value = "";
  68.       //document.sepf.whole.value = "";
  69.       //document.sepf.lines.value = "";
  70.       //document.sepf.errors.value = "";
  71.       //document.sepf.maxfiles.value = "";
  72.       //document.sepf.maxlines.value = "";
  73.       //document.sepf.maxchars.value = "";
  74.  
  75.       submitForm(sepf);
  76.     }
  77.   ]]></script>
  78.  
  79.   <copyright>
  80.     Copyright (c) 2002 David Bau
  81.     Distributed under the terms of the
  82.     GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  83.   </copyright>
  84. </search>